/**
 * jims
 */
package com.jims.master.modules.patient.myRecord.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;
import java.util.List;

/**
 * Entity
 * @author chentao
 * @version 2017-06-20
 */
public class CaseReportFile extends DataEntity<CaseReportFile> {
	
	private static final long serialVersionUID = 1L;
	private String caseReportId;		// 病例主表id
	private String fileType;     //路径类型
    private String caseNo;      //his数据单号
    private String ccessionno;   //检查检验单号
    private String applyDoctor;  //检查申请医生
    private String clinicId;  //门诊ID
    private Date reportTime;		// 报告日期
	private String fileUrl;		// 图片路径
	private String fileMoreUrl;		// 文件路径
	private String linkUrl;		// 链接路径

	private List<CaseReportFile> fileUrlList;
	private List<CaseReportFile> fileMoreUrlList;

	public List<CaseReportFile> getFileUrlList() {
		return fileUrlList;
	}

	public void setFileUrlList(List<CaseReportFile> fileUrlList) {
		this.fileUrlList = fileUrlList;
	}

	public List<CaseReportFile> getFileMoreUrlList() {
		return fileMoreUrlList;
	}

	public void setFileMoreUrlList(List<CaseReportFile> fileMoreUrlList) {
		this.fileMoreUrlList = fileMoreUrlList;
	}

	public CaseReportFile() {
		super();
	}

	public CaseReportFile(String id){
		super(id);
	}

	public String getFileType() {
		return fileType;
	}

	public void     setFileType(String fileType) {
		this.fileType = fileType;
	}

	@Length(min=1, max=64, message="病例主表id长度必须介于 1 和 64 之间")
	public String getCaseReportId() {
		return caseReportId;
	}

	public void setCaseReportId(String caseReportId) {
		this.caseReportId = caseReportId;
	}

	public String getFileMoreUrl() {
		return fileMoreUrl;
	}

	public void setFileMoreUrl(String fileMoreUrl) {
		this.fileMoreUrl = fileMoreUrl;
	}
	
	@Length(min=0, max=255, message="文件路径长度必须介于 0 和 255 之间")
	public String getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}
	
	@Length(min=0, max=255, message="链接路径长度必须介于 0 和 255 之间")
	public String getLinkUrl() {
		return linkUrl;
	}

	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}

    public String getCcessionno() {
        return ccessionno;
    }

    public void setCcessionno(String ccessionno) {
        this.ccessionno = ccessionno;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public String getCaseNo() {
        return caseNo;
    }

    public void setCaseNo(String caseNo) {
        this.caseNo = caseNo;
    }

    public String getClinicId() {
        return clinicId;
    }

    public void setClinicId(String clinicId) {
        this.clinicId = clinicId;
    }

    public String getApplyDoctor() {
        return applyDoctor;
    }

    public void setApplyDoctor(String applyDoctor) {
        this.applyDoctor = applyDoctor;
    }
}